<link rel='stylesheet' href='<?php echo $this->baseUrl() ?>/public/css/contact.css'/>
<div id="detail-content">
    <div class="input-contact">
        <h1>
            Contact Us
        </h1>
        <div class='contact-response <?php echo ($this->message) && ($this->message['status'] == 1) ? 'success_repsonse' : 'fail_response'?>' style='<?php echo isset($this->message) ? "" : "display:none"?>'>
            <?php echo $this->message['message'] ?>
        </div>
        <form method='POST' id='frm_contact'>
            <div class='inputs'>
                <div>
                    <div class='label'>
                        Your Name (required)
                    </div>
                    <input type='text' name='name' id='name' value='<?php echo $this->old_params ? $this->old_params['name'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Your Email (required)
                    </div>
                    <input type='text' name='email' id='email' value='<?php echo $this->old_params ? $this->old_params['email'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Your Phone
                    </div>
                    <input type='text' name='phone' value='<?php echo $this->old_params ? $this->old_params['phone'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Subject (required)
                    </div>
                    <input type='text' name='subject' id='subject' value='<?php echo $this->old_params ? $this->old_params['subject'] : '' ?>'/>
                </div>
                <div>
                    <div class='label'>
                        Message (required)
                    </div>
                    <textarea cols='54' rows='10' name='message' id='message'><?php echo $this->old_params ? $this->old_params['message'] : '' ?></textarea>
                </div>
                <div>
                    <?php echo recaptcha_get_html($this->recaptcha_info['public_key']); ?>
                </div>
                <p></p>
                <div>
                    <input type='submit' value='Send Request' class='submit-button'/>
                </div>
            </div>
        </form>
    </div>
    <div class="contact-address">
        EPAC Company Viet Nam
    </div>
</div>
<script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script>
<script src='<?php echo $this->baseUrl() ?>/public/js/contact.js'></script>